<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::BoxedSVMProblem&lt; MatrixT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">BoxedSVMProblem</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_boxed_s_v_m_problem-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::BoxedSVMProblem&lt; MatrixT &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Boxed problem for alpha in [lower,upper]^n and equality constraints.  
 <a href="classshark_1_1_boxed_s_v_m_problem.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qp_solver_8h_source.html">shark/Algorithms/QP/QpSolver.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a2bd43ebb430844ffaf029e4dbe28654b" id="r_a2bd43ebb430844ffaf029e4dbe28654b"><td class="memItemLeft" align="right" valign="top">typedef MatrixT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2bd43ebb430844ffaf029e4dbe28654b">MatrixType</a></td></tr>
<tr class="separator:a2bd43ebb430844ffaf029e4dbe28654b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebe162e1ac896671ad588e96fa013d4b" id="r_aebe162e1ac896671ad588e96fa013d4b"><td class="memItemLeft" align="right" valign="top">typedef MatrixType::QpFloatType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#aebe162e1ac896671ad588e96fa013d4b">QpFloatType</a></td></tr>
<tr class="separator:aebe162e1ac896671ad588e96fa013d4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8646da44427a08f8262f7675bcfdb4b8" id="r_a8646da44427a08f8262f7675bcfdb4b8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">BoxedSVMProblem</a> (<a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2bd43ebb430844ffaf029e4dbe28654b">MatrixType</a> &amp;<a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a720f758705f47d347f3c2f22cc81a860">quadratic</a>, RealVector const &amp;<a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#add87d9d239cadd1d20e7763d9d9a9a53">linear</a>, double lower, double upper)</td></tr>
<tr class="separator:a8646da44427a08f8262f7675bcfdb4b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6555ea207186eaabc65404f3f5efe419" id="r_a6555ea207186eaabc65404f3f5efe419"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a6555ea207186eaabc65404f3f5efe419">dimensions</a> () const</td></tr>
<tr class="separator:a6555ea207186eaabc65404f3f5efe419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb721af815d4a5d0ec6a62f8aeb1f562" id="r_adb721af815d4a5d0ec6a62f8aeb1f562"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#adb721af815d4a5d0ec6a62f8aeb1f562">boxMin</a> (std::size_t i) const</td></tr>
<tr class="separator:adb721af815d4a5d0ec6a62f8aeb1f562"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638209b50fe9c222fe9fe444339018f1" id="r_a638209b50fe9c222fe9fe444339018f1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a638209b50fe9c222fe9fe444339018f1">boxMax</a> (std::size_t i) const</td></tr>
<tr class="separator:a638209b50fe9c222fe9fe444339018f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2896fb191f3d99344e8ec338b481806d" id="r_a2896fb191f3d99344e8ec338b481806d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">flipCoordinates</a> (std::size_t i, std::size_t j)</td></tr>
<tr class="memdesc:a2896fb191f3d99344e8ec338b481806d"><td class="mdescLeft">&#160;</td><td class="mdescRight">exchange two variables via the permutation  <br /></td></tr>
<tr class="separator:a2896fb191f3d99344e8ec338b481806d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9d26f5923f47708bdb22c58931501c8" id="r_ac9d26f5923f47708bdb22c58931501c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#ac9d26f5923f47708bdb22c58931501c8">scaleBoxConstraints</a> (double factor)</td></tr>
<tr class="memdesc:ac9d26f5923f47708bdb22c58931501c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales all box constraints by a constant factor and adapts the solution by scaling it by the same factor.  <br /></td></tr>
<tr class="separator:ac9d26f5923f47708bdb22c58931501c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a720f758705f47d347f3c2f22cc81a860" id="r_a720f758705f47d347f3c2f22cc81a860"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2bd43ebb430844ffaf029e4dbe28654b">MatrixType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a720f758705f47d347f3c2f22cc81a860">quadratic</a></td></tr>
<tr class="memdesc:a720f758705f47d347f3c2f22cc81a860"><td class="mdescLeft">&#160;</td><td class="mdescRight">representation of the quadratic part of the objective function  <br /></td></tr>
<tr class="separator:a720f758705f47d347f3c2f22cc81a860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add87d9d239cadd1d20e7763d9d9a9a53" id="r_add87d9d239cadd1d20e7763d9d9a9a53"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#add87d9d239cadd1d20e7763d9d9a9a53">linear</a></td></tr>
<tr class="memdesc:add87d9d239cadd1d20e7763d9d9a9a53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear part of the problem.  <br /></td></tr>
<tr class="separator:add87d9d239cadd1d20e7763d9d9a9a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a988ae36b538072637c300b438fc300bc" id="r_a988ae36b538072637c300b438fc300bc"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a988ae36b538072637c300b438fc300bc">alpha</a></td></tr>
<tr class="memdesc:a988ae36b538072637c300b438fc300bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Solution candidate.  <br /></td></tr>
<tr class="separator:a988ae36b538072637c300b438fc300bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2b98b78ad4b3525df3bf0570c50ef74" id="r_ab2b98b78ad4b3525df3bf0570c50ef74"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#ab2b98b78ad4b3525df3bf0570c50ef74">diagonal</a></td></tr>
<tr class="separator:ab2b98b78ad4b3525df3bf0570c50ef74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f91836f0eec0c624f00c7bd88c13b1f" id="r_a7f91836f0eec0c624f00c7bd88c13b1f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a7f91836f0eec0c624f00c7bd88c13b1f">permutation</a></td></tr>
<tr class="memdesc:a7f91836f0eec0c624f00c7bd88c13b1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">permutation of the variables alpha, gradient, etc.  <br /></td></tr>
<tr class="separator:a7f91836f0eec0c624f00c7bd88c13b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class MatrixT&gt;<br />
class shark::BoxedSVMProblem&lt; MatrixT &gt;</div><p>Boxed problem for alpha in [lower,upper]^n and equality constraints. </p>
<p>It is assumed for the initial alpha value that there exists a sum to one constraint and lower &lt;= 1/n &lt;= upper <br  />
 </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00163">163</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a2bd43ebb430844ffaf029e4dbe28654b" name="a2bd43ebb430844ffaf029e4dbe28654b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bd43ebb430844ffaf029e4dbe28654b">&#9670;&#160;</a></span>MatrixType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef MatrixT <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;<a class="el" href="_mc_svm_linear_8cpp.html#a88ab98d46276376a56c2a396842cd58e">::MatrixType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00165">165</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

</div>
</div>
<a id="aebe162e1ac896671ad588e96fa013d4b" name="aebe162e1ac896671ad588e96fa013d4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebe162e1ac896671ad588e96fa013d4b">&#9670;&#160;</a></span>QpFloatType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef MatrixType::QpFloatType <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::QpFloatType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00166">166</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8646da44427a08f8262f7675bcfdb4b8" name="a8646da44427a08f8262f7675bcfdb4b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8646da44427a08f8262f7675bcfdb4b8">&#9670;&#160;</a></span>BoxedSVMProblem()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::BoxedSVMProblem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2bd43ebb430844ffaf029e4dbe28654b">MatrixType</a> &amp;&#160;</td>
          <td class="paramname"><em>quadratic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00169">169</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#ab2b98b78ad4b3525df3bf0570c50ef74">shark::BoxedSVMProblem&lt; MatrixT &gt;::diagonal</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a6555ea207186eaabc65404f3f5efe419">shark::BoxedSVMProblem&lt; MatrixT &gt;::dimensions()</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#add87d9d239cadd1d20e7763d9d9a9a53">shark::BoxedSVMProblem&lt; MatrixT &gt;::linear</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a7f91836f0eec0c624f00c7bd88c13b1f">shark::BoxedSVMProblem&lt; MatrixT &gt;::permutation</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a720f758705f47d347f3c2f22cc81a860">shark::BoxedSVMProblem&lt; MatrixT &gt;::quadratic</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a638209b50fe9c222fe9fe444339018f1" name="a638209b50fe9c222fe9fe444339018f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638209b50fe9c222fe9fe444339018f1">&#9670;&#160;</a></span>boxMax()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::boxMax </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00194">194</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

</div>
</div>
<a id="adb721af815d4a5d0ec6a62f8aeb1f562" name="adb721af815d4a5d0ec6a62f8aeb1f562"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb721af815d4a5d0ec6a62f8aeb1f562">&#9670;&#160;</a></span>boxMin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::boxMin </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00191">191</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

</div>
</div>
<a id="a6555ea207186eaabc65404f3f5efe419" name="a6555ea207186eaabc65404f3f5efe419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6555ea207186eaabc65404f3f5efe419">&#9670;&#160;</a></span>dimensions()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::dimensions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00187">187</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a720f758705f47d347f3c2f22cc81a860">shark::BoxedSVMProblem&lt; MatrixT &gt;::quadratic</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">shark::BoxedSVMProblem&lt; MatrixT &gt;::BoxedSVMProblem()</a>.</p>

</div>
</div>
<a id="a2896fb191f3d99344e8ec338b481806d" name="a2896fb191f3d99344e8ec338b481806d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2896fb191f3d99344e8ec338b481806d">&#9670;&#160;</a></span>flipCoordinates()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::flipCoordinates </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>exchange two variables via the permutation </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00212">212</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a988ae36b538072637c300b438fc300bc">shark::BoxedSVMProblem&lt; MatrixT &gt;::alpha</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#ab2b98b78ad4b3525df3bf0570c50ef74">shark::BoxedSVMProblem&lt; MatrixT &gt;::diagonal</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#add87d9d239cadd1d20e7763d9d9a9a53">shark::BoxedSVMProblem&lt; MatrixT &gt;::linear</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a7f91836f0eec0c624f00c7bd88c13b1f">shark::BoxedSVMProblem&lt; MatrixT &gt;::permutation</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a720f758705f47d347f3c2f22cc81a860">shark::BoxedSVMProblem&lt; MatrixT &gt;::quadratic</a>.</p>

</div>
</div>
<a id="ac9d26f5923f47708bdb22c58931501c8" name="ac9d26f5923f47708bdb22c58931501c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9d26f5923f47708bdb22c58931501c8">&#9670;&#160;</a></span>scaleBoxConstraints()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::scaleBoxConstraints </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Scales all box constraints by a constant factor and adapts the solution by scaling it by the same factor. </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00225">225</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a988ae36b538072637c300b438fc300bc">shark::BoxedSVMProblem&lt; MatrixT &gt;::alpha</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a988ae36b538072637c300b438fc300bc" name="a988ae36b538072637c300b438fc300bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a988ae36b538072637c300b438fc300bc">&#9670;&#160;</a></span>alpha</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::alpha</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Solution candidate. </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00205">205</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">shark::BoxedSVMProblem&lt; MatrixT &gt;::flipCoordinates()</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#ac9d26f5923f47708bdb22c58931501c8">shark::BoxedSVMProblem&lt; MatrixT &gt;::scaleBoxConstraints()</a>.</p>

</div>
</div>
<a id="ab2b98b78ad4b3525df3bf0570c50ef74" name="ab2b98b78ad4b3525df3bf0570c50ef74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2b98b78ad4b3525df3bf0570c50ef74">&#9670;&#160;</a></span>diagonal</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::diagonal</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>diagonal matrix entries The diagonal array is of fixed size and not subject to shrinking. </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00209">209</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">shark::BoxedSVMProblem&lt; MatrixT &gt;::BoxedSVMProblem()</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">shark::BoxedSVMProblem&lt; MatrixT &gt;::flipCoordinates()</a>.</p>

</div>
</div>
<a id="add87d9d239cadd1d20e7763d9d9a9a53" name="add87d9d239cadd1d20e7763d9d9a9a53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add87d9d239cadd1d20e7763d9d9a9a53">&#9670;&#160;</a></span>linear</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::linear</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear part of the problem. </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00202">202</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">shark::BoxedSVMProblem&lt; MatrixT &gt;::BoxedSVMProblem()</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">shark::BoxedSVMProblem&lt; MatrixT &gt;::flipCoordinates()</a>.</p>

</div>
</div>
<a id="a7f91836f0eec0c624f00c7bd88c13b1f" name="a7f91836f0eec0c624f00c7bd88c13b1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f91836f0eec0c624f00c7bd88c13b1f">&#9670;&#160;</a></span>permutation</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;std::size_t&gt; <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::permutation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>permutation of the variables alpha, gradient, etc. </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00232">232</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">shark::BoxedSVMProblem&lt; MatrixT &gt;::BoxedSVMProblem()</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">shark::BoxedSVMProblem&lt; MatrixT &gt;::flipCoordinates()</a>.</p>

</div>
</div>
<a id="a720f758705f47d347f3c2f22cc81a860" name="a720f758705f47d347f3c2f22cc81a860"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a720f758705f47d347f3c2f22cc81a860">&#9670;&#160;</a></span>quadratic</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MatrixT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2bd43ebb430844ffaf029e4dbe28654b">MatrixType</a>&amp; <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html">shark::BoxedSVMProblem</a>&lt; MatrixT &gt;::quadratic</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>representation of the quadratic part of the objective function </p>

<p class="definition">Definition at line <a class="el" href="_qp_solver_8h_source.html#l00199">199</a> of file <a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a8646da44427a08f8262f7675bcfdb4b8">shark::BoxedSVMProblem&lt; MatrixT &gt;::BoxedSVMProblem()</a>, <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a6555ea207186eaabc65404f3f5efe419">shark::BoxedSVMProblem&lt; MatrixT &gt;::dimensions()</a>, and <a class="el" href="classshark_1_1_boxed_s_v_m_problem.html#a2896fb191f3d99344e8ec338b481806d">shark::BoxedSVMProblem&lt; MatrixT &gt;::flipCoordinates()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/QP/<a class="el" href="_qp_solver_8h_source.html">QpSolver.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
